<?php 
global $dir_tpl, $tb_fix, $temp, $anyDB, $temp;  
$sql = QueryHelper::select("*",$tb_fix."_slideshow","slide_ndsgroup=1 AND slide_where='trangchu'",false,"ORDER BY slide_id DESC");    
  
//echo $sql;
$q = $anyDB->query($sql);
$r = $anyDB->getAll($q);
$temp->assign( 'row', $r);
$temp->assign( 'base_tpl', "".$dir_tpl."" ); 
$temp->display("$dir_tpl/blocks/slide/tpl_slide.mct"); 
?> 
